package com.ruibang.glass.quality.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 * 成品外观尺寸信息
 * </p>
 *
 * @author wujie
 * @since 2024-03-20
 */

@ApiModel(value = "成品外观尺寸信息")
@TableName("g_quality_appearance_size")
@Data
public class AppearanceSize {

    @ApiModelProperty(value = "外观尺寸ID")
    @TableId(value = "size_id", type = IdType.ASSIGN_ID)
    private String sizeId;
    @ApiModelProperty(value = "玻璃ID")
    private String glassId;
    @ApiModelProperty(value = "产品型号(1:G8.5,2:G8.6,3:G8.6+,4:G8.7)")
    private String glassModel;
    @ApiModelProperty(value = "测定日期")
    private LocalDate measureDate;
    @ApiModelProperty(value = "抽检时间")
    private String checkTime;
    @ApiModelProperty(value = "所属产线")
    private String productLine;
    @ApiModelProperty(value = "测量人")
    private String userId;
    @ApiModelProperty(value = "判定(合格:0,不合格:1)")
    private String decide;
    @ApiModelProperty(value = "尺寸1H")
    @TableField("size_1h")
    private Float size1h;
    @ApiModelProperty(value = "尺寸2H")
    @TableField("size_2h")
    private Float size2h;
    @ApiModelProperty(value = "尺寸3H")
    @TableField("size_3h")
    private Float size3h;
    @ApiModelProperty(value = "尺寸4H")
    @TableField("size_4h")
    private Float size4h;
    @ApiModelProperty(value = "垂直度1C")
    @TableField("vertical_1c")
    private Float vertical1c;
    @ApiModelProperty(value = "垂直度2C")
    @TableField("vertical_2c")
    private Float vertical2c;
    @ApiModelProperty(value = "垂直度3C")
    @TableField("vertical_3c")
    private Float vertical3c;
    @ApiModelProperty(value = "垂直度4C")
    @TableField("vertical_4c")
    private Float vertical4c;
    @ApiModelProperty(value = "平行度2H//4H")
    @TableField("parallel_2h4h")
    private Float parallel2h4h;
    @ApiModelProperty(value = "平行度1H//3H")
    @TableField("parallel_1h3h")
    private Float parallel1h3h;
    @ApiModelProperty(value = "直角度1c")
    @TableField("right_angle_1c")
    private Float rightAngle1c;
    @ApiModelProperty(value = "直角度2c")
    @TableField("right_angle_2c")
    private Float rightAngle2c;
    @ApiModelProperty(value = "直角度3c")
    @TableField("right_angle_3c")
    private Float rightAngle3c;
    @ApiModelProperty(value = "直角度4c")
    @TableField("right_angle_4c")
    private Float rightAngle4c;
    @ApiModelProperty(value = "直线度1h")
    @TableField("straight_line_1h")
    private Float straightLine1h;
    @ApiModelProperty(value = "直线度2h")
    @TableField("straight_line_2h")
    private Float straightLine2h;
    @ApiModelProperty(value = "直线度3h")
    @TableField("straight_line_3h")
    private Float straightLine3h;
    @ApiModelProperty(value = "直线度4h")
    @TableField("straight_line_4h")
    private Float straightLine4h;
    @ApiModelProperty(value = "倒角1C-1")
    @TableField("chamfer_1c1")
    private Float chamfer1c1;
    @ApiModelProperty(value = "倒角1C-1")
    @TableField("chamfer_1c2")
    private Float chamfer1c2;
    @ApiModelProperty(value = "倒角2C-1")
    @TableField("chamfer_2c1")
    private Float chamfer2c1;
    @ApiModelProperty(value = "倒角2C-1")
    @TableField("chamfer_2c2")
    private Float chamfer2c2;
    @ApiModelProperty(value = "倒角3C-1")
    @TableField("chamfer_3c1")
    private Float chamfer3c1;
    @ApiModelProperty(value = "倒角3C-2")
    @TableField("chamfer_3c2")
    private Float chamfer3c2;
    @ApiModelProperty(value = "倒角4C-1")
    @TableField("chamfer_4c1")
    private Float chamfer4c1;
    @ApiModelProperty(value = "倒角4C-2")
    @TableField("chamfer_4c2")
    private Float chamfer4c2;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "是否删除(1:是,0:否)")
    @TableLogic
    private String isDelete;

    @ApiModelProperty(value = "关联图片Id列表")
    @TableField(exist = false)
    private List<String> fileIds;

    @ApiModelProperty(value = "编辑时删除图片Id列表")
    @TableField(exist = false)
    private List<String> deleteFileIds;

    @ApiModelProperty(value = "产线名称")
    private String productLineName;

    @ApiModelProperty(value = "用户名称")
    @TableField(exist = false)
    private String userName;
}
